<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8" />
    <title>排课</title>
    <link rel="stylesheet" type="text/css" href="../../css/reset.css" />
    <link rel="stylesheet" type="text/css" href="../../css/common.css" />
    <link rel="stylesheet" type="text/css" href="../../css/zbpkicon/iconfont.css" />
    <link rel="stylesheet" type="text/css" href="../../lib/layui/css/layui.css" />
    <link rel="stylesheet" type="text/css" href="../../css/table.css" />
    <link rel="stylesheet" type="text/css" href="../../css/paike.css" />
</head>
<body>
@@include('header.html', {
"fileRoot": "../..",
"linkRoot": ".."
})

<div class="content">
    <div class="content-head">
        <p>
            <a href="paike_task.html"><span class="head-current">排课</span></a>
            <i>/</i>
            <span>排课任务</span>
        </p>
    </div>
    <ul class="setmsg_tab">
        <li class="active"><a href="basic_msg.html">基本信息</a></li>
        <li><a href="config_class.html">配置班级</a></li>
        <li><a href="config_jiaoyanzu.html">配置教研组</a></li>
        <li><a href="paike_area_set.html">排课区位设置</a></li>
        <li><a href="paikeRules.html">条件规则设置</a></li>
    </ul>

    <div class="block">
        <p class="line-tip">基本信息</p>
        <div class="clearfix">
            <form class="layui-form" action="">
                <div class="layui-form-item">
                    <div class="layui-inline">
                        <label class="layui-form-label long">排课任务编码：</label>
                        <div class="layui-input-inline long paike_name">
                            paike01
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label long">排课任务名称：</label>
                        <div class="layui-input-inline long">
                            <input type="text" name="title" placeholder="请输入任务名称" class="layui-input">
                        </div>
                    </div>
                </div>

                <div class="layui-form-item">
                    <div class="layui-inline">
                        <label class="layui-form-label long">学年学期：</label>
                        <div class="layui-input-inline long">
                            <select name="city" lay-verify="required">
                                <option value=""></option>
                                <option value="0">2017-2018上学期</option>
                                <option value="1">2017-2018下学期</option>
                            </select>
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label long">学段年级：</label>
                        <div class="layui-input-inline long">
                            <select name="city" lay-verify="required">
                                <option value=""></option>
                                <option value="0">高中段</option>
                                <option value="1">初中段</option>
                            </select>
                        </div>
                    </div>
                </div>

                <div class="layui-form-item">
                    <div class="layui-inline">
                        <label class="layui-form-label long">课时配置：</label>
                        <div class="layui-input-inline long">
                            <select name="city" lay-verify="required">
                                <option value=""></option>
                                <option value="0">2017-2018年课时配置方案1（标准）</option>
                                <option value="1">2017-2018年课时配置方案2（标准）</option>
                            </select>
                        </div>
                    </div>
                </div>

                <div class="layui-form-item">
                    <div class="layui-inline">
                        <label class="layui-form-label long">有效期起：</label>
                        <div class="layui-input-inline long">
                            <select name="city" lay-verify="required">
                                <option value=""></option>
                                <option value="0">2017-04-23</option>
                                <option value="1">2018-04-23</option>
                            </select>
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label long">有效期止：</label>
                        <div class="layui-input-inline long">
                            <select name="city" lay-verify="required">
                                <option value=""></option>
                                <option value="0">2017-04-23</option>
                                <option value="1">2018-04-23</option>
                            </select>
                        </div>
                    </div>
                </div>

                <div class="layui-form-item">
                    <label class="layui-form-label long">排课类型：</label>
                    <div class="layui-input-block">
                        <input type="radio" name="paike_type" value="混合排课" title="混合排课">
                        <input type="radio" name="paike_type" value="纯行政班排课" title="纯行政班排课" checked>
                    </div>
                </div>

                <div class="layui-form-item">
                    <label class="layui-form-label long">是否进行教室统计：</label>
                    <div class="layui-input-block">
                        <input type="radio" name="right_no" value="是" title="是">
                        <input type="radio" name="right_no" value="否" title="否" checked>
                    </div>
                </div>

                <div class="layui-form-item layui-form-text">
                    <label class="layui-form-label long">文本域：</label>
                    <div class="layui-input-block">
                        <textarea name="desc" placeholder="请输入内容" class="layui-textarea comment"></textarea>
                    </div>
                </div>

            </form>
        </div>
    </div>

    <div style="color:#fff" class="btns">

        <a href="config_class.html" class="layui-btn layui-light-blue">保存并进行下一步</a>
    </div>

</div>

<script type="text/javascript" src="../../js/jquery-1.11.1.min.js"></script>
<script type="text/javascript" src="../../lib/layui/layui.all.js"></script>
<script type="text/javascript">
    $(function(){
        $('.layui-nav-item').hover(function() {
            var $this = $(this);
            $this.addClass('layui-nav-item-bg ')
        }, function() {
            var $this = $(this);
            $this.removeClass('layui-nav-item-bg')
        });

        layui.use('form', function(){
            var form = layui.form;
        })

        // //拖拽上传
        layui.use('upload',function(){
            var $ = layui.jquery
                ,upload = layui.upload;
            upload.render({
                elem: '#test10'
                ,url: '/upload/'
                ,done: function(res){
                    console.log(res)
                }
            });
        })

        // 查看选课情况
        $('.check_select').click(function(){
            var html = $('#xuanke_detail').html();
            layui.use('layer',function(){
                var layer = layui.layer;
                layer.open({
                    type:1,
                    title:'选课情况',
                    content:html,
                    area:['800px','400px'],
                    success:function(dom,index){
                        console.log(dom)
                    }
                })
            })
        })

    })

</script>

</body>
</html>
